#include<iostream>
#include<algorithm>
using namespace std;
string multiply2of(string s){
    string res;
    int jinwei=0;
    for(int i=s.length()-1;i>=0;i--){
        int b=s[i]-'0';
        int r=b+b+jinwei;
        jinwei=r/10;
        r=r%10;
        res+=r+'0';
    }
    if(jinwei>0)
        res+=jinwei+'0';
    reverse(res.begin(),res.end());
    return res;
}
int main(){
    string s;
    cin>>s;
    string res = multiply2of(s);
    int cnt1[10]={0};
    int cnt2[10]={0};
    int i=0,j=0;
    bool a=true;
    bool b=true;
    while(a||b){
        if(i<s.length())
            cnt1[s[i++]-'0']++;
        else
            a=false;
        if(j<res.length())
            cnt2[res[j++]-'0']++;
        else
            b=false;
    }
    bool flag=true;
    for(int i=0;i<10;i++){
        if(cnt1[i]!=cnt2[i]){
            flag=false;
            break;
        }
    }
    if(flag)
        cout<<"Yes"<<endl;
    else
        cout<<"No"<<endl;
    cout<<res<<endl;
    return 0;
}
